added abstract parent state with main and view as children.
Merge pull request #6 from jpk1215/frontend-os

added modal
added data factory
fixed conflict
Merge pull request #7 from jpk1215/view-child-state

View child state
small fixes
Merge branch 'master' into frontend-os