Server Rest API implementation

Implemented server Rest API with mongoose.js