Refactoring; now supports configuration of clustering, stomp and shovels using defined types