Refactored shed functionality and exported it as a symbol