add register on controller methods in router and instanvce
Merge pull request #43 from fengjingchao/dev

add register on controller methods in router and instanvce