refactor lib - update readme