add controllers, refactor routes
Merge pull request #3 from xamenrax/controllers_feature

add controllers, refactor routes