Added local db support, gruntjs update