added models loader, db connection