convert to tabs based style and change curlys

todo remove camel case from variable names