adds core data bank and dbstack