Maincalculator class
Merge branch 'topic/issue2' of https://github.com/Miliox/distcalc into topic/issue2