start learn object-orientation: defining class and script