Updated the NodeExcutorFactory to use the RunType instead of the RunCategory.
Added the onDetached method for the new Detached state.
Moved LICENSE and THIRD-PARTY to the root.