Add DBUtil class for app's database function.

Address #41.