adding core source file and Grunt setup