Added BaseHTML wrapper classes and localemanager class