wip
more wip
refactored state machine
Door: public interface
State pretty print
Protect State and other fixes