Minimal example of using mongoengine
refactored into a models file