Adding engine, layer, scene

Initial commit for the engine, layer and scene part of pal
Slight changes to accommodate for the new classes

Added more methods to the node class