clean old MEAN implementation