move components into seperate package files
clean up old commented code.
rewrote composite error state for design 2

Design 2 now includes the subsystem components in the failed state
definition.