Added getters and setters for the character