configuring fluent and db