Messy code that needs organizing. New resource router, gets and puts test obj in mongo