update a lot

1. change UI's data storage from vector to array
2. implement statForm
3. update inputForm so that it can accept string
4. ...
.... product.txt sucks