Code cleanup
Error checking
Front-end refactoring
Code cleanup
Added docstrings
Code cleanup
Code cleanup
Fixing max-value error
Updated README.md