Format sources, organize imports