added grunt tasks, other improvements