changed constant names, LangString, and added some javadoc