start of class creator