Sample class showing basic OOP principles