Database integration

Basic Database integration