praveen|refactoring controllers