switch to gnureadline
Enable easy ad and api server debugging via config