Moves classes into the root namespace
Adds delayed callbacks, fixes keyboard input detection