game editor refactoring. Test app added.

@gevorg-gsar