refactor motion schema into a folder
fix a "MongoError: _id cannot be an array" error