Test task. Just a little OOP.