Encryption of the structure.xml implemented, some Bugs fixed, Save- Remo...

...ve- and Edit- Methods in the MainController refactored