Fix #33 and Close #33: AttributeError: 'module' object has no attribute 'DIR_ROOT'