Revert "db model - 1st version"

This reverts commit aa3817ec3c16d7ca95f996a9bc294d28c76d3e86.