Adding data sms functionality
Made SQL primary key available outside SQL