ticket3: some refactoring
Editing
ticket3: merged and completed
Crash on denied permissions
ticket3: merged with bugfixes from ticket2
Validation changed
ticket3: added tests for validation
Added changes from ticket3