refactor and make lite version, update readme