bug fix and improvement

1. fixed the InputManage bug
2. improved the ObjectPool and AssetsManager
3. some other improvement