Cleaned and commented controller
Cleaned and commented controller