added setters and getters to classitem class