replace spaces in routing with underscore
minor refactor and prettifying of code in main controller
Merge pull request #73 from mdaxtman/elemSpace

remove spaces from URL routing