Class to collection of function - pointer replaced by references - Open function added