Restructured Api project, refactored ElementsGroup and Container

* Restructured Api project, divided classes containing methods which were previously in Profil classes from classes containing commons methods
* Refactored ElementsGroup, ContainerPanel, and made small changes to some other profil classes
* Change code whihc directly called methods which were moved to util classes