Add database class

Signed-off-by: Ian Macalinao <ianmacalinao@gmail.com>