simplify factory/decorators

remove Factory class.
Don't go through Decorator class for get and set calls.
access node variable directory rather than through get_node()