fixed basic logger and config file reader