Added Database Contract and Helper