Added SQL Contract and confirmed that everything works with tests.