tidied up tied status module into workflow gem