refine the Constant class and sharedPreference class
remove useless dir