Added edit and create new features. Also added fields for MongoDB.