Adding lang, work in progress

Also adding new type boolean.