review, refactoring and migration to command factories
0 denominator was removed
added exception for zero denominator
Merge pull request #2 from eugene0785/master

review, refactoring and migration to command factories