Introduce logging.properties file and refactor small things