removed config class.. not needed and updated code so it works.
updated