Basic OOP example implemented