controller, pkg, router: extracted http methods into httpclient

Signed-off-by: Corey Powell <mistdragon100@gmail.com>
Merge pull request #359 from IceDragon200/json-httpclient

Extracted JSON client functions into seperate package