Added db component. Added configuration section to readme.