add support for moving failed packages to graveyard directory; add web admin support functions to db