Standardize to python style, including indent, import and line length