Append mongodb config to app instance
Decided db model specify, and create model.py. fixes #1, close #2