Update readme.
Removed unused functions from main.