Refactor module controller twig file

* Extract Twig conde into new twig files located at shared/ dir
* Add Twig function servicesAsParameters
* Refactor model controller Twig file remove code & call new
  Twig files and added function