Refactored skeleton code

Instead of one file, I moved the skeleton definitions and function prototypes
into a separate header file with the actual implementation in another NXC
source.