use postgres in development
remove unused search controller
remove comments in routes file
formatting fixes and refactors for photo model
fix formatting and spelling error