Added dependancies to db