Getters and setters

Getters and setters were added to the classes