Added database chapter in documentation