Adding sqlite to the source tree and adding a main