Added more endpoints. Should be mostly js work for the game now.