modified static variable for application context
update common utils
merge with ares
refactor the code