split StateClass from main
replace State to app.state
add config class
move Config to app.config
Add sinon for js test
add config_spec
split style_intitializer
add lib/models directory
fix mouse event on left menu
fix pref path on share
Merge pull request #118 from mizchi/config-state-model

Refactor main.js to extract models