branch first commit
refactor some element creation code
Merge pull request #3 from rusurazvangabriel/VictorBadila_GeneralRefactoring

Victor badila general refactoring