Added fun hub code and moved api code to its own folder.