cleaned up some things in index and goal controller
Merge pull request #93 from Ryabrandt/cleanup

cleaned up some things in index and goal controller