changed tie to plugin and changed configuration to store properties in class scope