initial rest structure for mongodb