done some refactoring
polished readme