started implementing autoloader and img import/export.