refactors mongo
removes deleted files