format codes and update README.