database cleanup + init mongo work + minor features