create simple sender and listener classes - can be executed on command
line