fixed potential bug
fiddled with build system, initial commit of console client
initial version of console app