refactor the structure of extjs's mvc