Designing db, implementing disposer logic