Removes unnecessary configuration from Gruntfile and refactors main.

Signed-off-by: Claudio Ortolina <claudio@jumpzero.com>