moved ToStringStryle into Commonutils
created dictionary, added comments, changed and added tests