added attribute.value
rebased on attribute.value
renamed resolve to getvalue in Module.__getattribute__