created model, configuring db