Made classes for the different layers