Cleaned up db implementation

actors and properties now work (set, get, delete, list)