adding an api folder to the game