Fix logger names.
Move communication functions to 'commlib/'.