Fix codestyle, add phing to build process