removed db instance from mainActivity