Better api
Entities for mongo