Made getters and setters

need to add javadoc comments