improved input validation
basic test suite, input validation, improved logging and yaml validation & backup