added attributes property. added home, write, strlen methods.