sword shop refactored