Added example app

npm refactoring and added sample app.