Create modules for domain types, under FreePalace.Domain.
Get rid of StateHandlers module and move functions to update state into the State module.