Add router and improve Gruntfile