added var to core an some design fixes
start jsonrpc backend if configured
added core to jsonbackend and removed unneeded import
added some more stuff to jsonrpc backend
added jsonrpc-client to bin for testing the jsonrpc backend