data model and init database sql