add Constructor and some UI outputs
add some UserInput functions.
Fix main.js and package.json