add working controllers
Merge pull request #2 from ranleung/master

add working controllers