cosmetic refactoring and addition of a readme