Moved each state handler to its own file in their own submodule.
Adapted realoading file to change in state handler file structure.