add Constructor and some UI outputs
add some UserInput functions.
Fix main.js and package.json
Merge pull request #10 from kishizuka/ui

Constructor