Add Socket Server for interactive with other system (with PHP API);
Add Config(app/config.js);
Refactor system: leave only the business logic at app/...

添加Socket服务器，方便与其他系统交互（封装了PHP的API）；
添加配置文件(app/config.js)；
重构系统：只在app/...中编写业务逻辑。