Implemented log service
Text cleanup, bug fixin