update routes and add mediaController
fix api get Gallery repo and api
fix repo and api Category
add morphClass property by namespace
add morphClass namespace model post and fix post