connectionhandler reworked to use select
remconsole added