Move proofs to one file, add some comments