Bugs fixed and EpicsLogger class reorganized. Unit test updated