JC: finished misc_definition. Clean up routes.rb.