added game loop source file and calling of init script