Refactored some code
Minor changes
Merge branch 'master' of https://github.com/DImuthuUpe/Tesseract-API