Update readme and remove useless code