Adding gruntfile and re-writing client.