Removed unnecessary code
Added words count field and improved api
Improved API responses
Added manipulating with num_words to the API