Added grunt build.
Ignoring public.
Broken out functions.