This board is a very simple 8 bit 'training circuit' that can be added to or simplified as required.
Quite a bit of these Tube video uses a 'Board Zero' and this codepack...
One step at a time project. Flash all ports in combinations to test functionality....
Step 1, start MPLAB IDE.
Step 2, Create a new project using the Wizard. Press [alt] (P)roject (W)izard.
 
Step 3, Choose Hi-Tech C (for now)...
 
#define uchar unsigned char
#include<htc.h> //Always include this 'header' file. Definitions for Port and peripheral addresses.
#include "delay.c" //Always include this file that is standard delay routine definitions.