Fixed more issues

You might have accidentally changed some of the master files, as I was a bit confused about what did what when I first started. (For example, I used a public/test folder instead of a public/data). I've changed them back so as to not break anything later on.

I've also added a gem called better errors and binding of caller, which is a great tool that allows people to use a console and dive into the application on the error page. It's really useful! 
Check it out [here](https://github.com/charliesome/better_errors)