[Core]: Finished compilability fixes

Finished fixing the core code so it all compiles. Still need to finish the
components. Also added a "clean" target to the makefile and reorganized the
headers.

Signed-off-by: Sebastian Lenartowicz <slenarto@uoguelph.ca>