added
added template support
added errors
added lang utils
updated to use lang utils
updated