Added properties and fixed errors

Implemented properties (getters and setters) for all protected
atributtes of the crossing classes and fixed typing errors