format code and add .project file