Removed unused method, added game loop and doc