Refactor RestFunctionManager

1. Rename RestFunctionManager to RestMethods
2. Move rest callback to RestMethods.class
Rename & delete
Merge pull request #25 from HMW/refactor/rest-manager

Refactor/rest manager