Extended fendtcontroller to run in console or service mode.
Added function for running as a service accepting commands
via socket from localhost.
Added simple client for testing.