Database Manipulation with Scala Module