added basic gorp, database locking is failing somehow