Added creating indexes to mongodb collections from schema