install db task works. Changed registration to constructor pattern