5daea38 Add database skeleton and corresponding test cases.