added logging
added missing files and renamed client
new proper OOP way to do it
eclipse files