LPLC Template code
This is the source code that you should use as a template for your project. Copy these files, and modify them for your needs. Just unzip the directory structure with the zip file to some convenient location, then open MPLAB-X and select the File->Open Project option from the main menu. You can then navigate to the location of the project.
The files are here: