Made the engine module not leak stuff into the global scope, restructured it internally, moved libraries it uses inside it
Oh yeah, this repo still contains test code and other trash.