added 5 main api calls, stats api