Merge pull request #35 from nubs/master

Allow legend text to change based off of search.
Move files to toplevel to prepare for heroku.
Add composer.json for heroku.