integrate code and update readme.