A simple class implemntation