update readme, remove unused code