added preInit

fixed imports and added GameRegistry