small refactoring, added readme