applying extjs mvc architecture