some refactoring and README file addition