refactored, added readme