some refactoring
changed readme with config settings