Calculator class changed to singleton, added support of expression arithmetic chains