Restructured statechart and states in individual files in dirs. Added first states, some transient, for basic graphics ops. Made a proper connector class that is updated for shape moves, using shape-to-connector references.