refactoring and README created