refactors grunt database
refactors grunt
refactors grunt test