Switch code style to Allman & port to x64