Clean code of controller package