Parse command line instead of using the words function
Fix cache reading, add autoteaching and other minor changes
Remove redundant code and change threshold number
Code restyling
Update help message