changed AppContext init method, more functionanity, more flexibity and relies no web env; add locale service and all its support; add message tag; support seemless internationalization support