refactoring workflows module and moving files around some more to organize gem hierarchy