Refactor configuration to return proper env based on process.env.DIKY_ENV
Add mongoose library to the project
Rewrite model to use mongoose.
Use ObjectId as _id in model classes