Working api

Provides mostly fake information but structure is mostly done.
Global id from hard code.
Seperated keys of cgminer and real keys to be used.