remove unneeded codes
added usage to readme