using scala and SQLite Database