perfect the app for bottle by mongodb