db_interface.coffee almost done