scala simple database