fix configuration controller
refactoring services
refactoring services
remove old files