Abstract calculator class for HackaMol