refactoring the ayat controller
Logic moved to models
Deleted comments