initial checkin..
added more docs
improving samples and making a better build with less boilerplate code
more documentaiton
did the jshint thing and added licence stuff