Created OOP structure.