A bunch of testing code that for now seems to work
Refined the autoloader a bit