finished class autoloader and simple DB class