break down api into package
stats api
change api
stats on index page