Moved project to intelliJ

Added gradle buildfile
Ádded wrapper for more readable code when adding elements to a root