Modularize game objects