Added sql model and files