Add config.db to gitignore
Start REST-ifying the api