refactor ApplicationContext
[feng & ming] refactor with guava