made classes and relationship between classes