Format code, add comment for common config
formatting of code