adding Operations class
added constructor