Some initial work on the final engine. Resolving linker errors by writing or stubbing in missing functionality.