Added db-connection
model and controller for index completed