refactored, made ready for testing, added readme