* moved imports to top level * replaced importlib with standard import * fix for Unable to import 'decora' error