Feature/httpd 20141011

added a server mode to the kagome command