Added README and more refactors to modernize the api