remove model type and make app run and cleanup safe to call without init
make debug logger compiler conditional and change most infos to debugs
turn on debug logging if compiling as debug
add basic event loop
wire up cmd-q to exit laconomie using event posting