Flask extension for MongoDB frontend