More refactoring. Reading conf from properties file.