add additional database interaction; remove extraneous files