adding demo
refactoring code
adding grunt packaging