working on database integration
initial database working