refactor(model): change all attributes and child elements to protected