extract SubSystem class and rename Interaction package to Application package.
fix complie error.