Adding the SQLLite code