Added Grunt. Changed file structure. All methods moved to prototype