Adding api rate limiter (now requires a database), and functions to save data from API to database

Added functions to improve framework. Adding functions to save all
givin users and their games.