Connect Measure to DB.
DB Still need Refactor.