DB commands added and blacksmith updated

Added DB commands to decsionState
Fixed a big with the blacksmithState table
minor changes to cases