Added a hacked version of Casbah to work with Scala 2.10
Detections are now written to the database.