added missing setters and getters
implemented most internalXXX methods, read methods still to be done