Implemented log manager to take care of old log files and possibly monitor application errors in the future.