improved how we configure the database in config.py
every posible document that we want stored in the database is specified in config file.
also I took out alot of repeating in the models.
not the models point to our database collection.
also we copy over documents as well as design documents when we first create the database.