re adding routes
making routes look good
adding environments
more changes for rails 4 upgrade
bug fixes