getters setters and using seperate classes