Still broken, the db class is creating records but not reflected in database