created run calculator class and extracted calculations from user model