Fixes #3 and #2. Controllers for a REST-like API interaction and hero.rb now interacts with the server insted of talking to the DB