moving lang() to api
#7 normalizing keys (to dashed) in locale
#7 new helper construct.log, to output messages in the console