Issues/1/load apis

- load APIs dynamically, when connection to cgminer is established