refactor, added grunt configuration.