move product db management to DB Adapter. Improve layouts.