refactor and validation

**refactor tutorial and about
**printing of errors
**validate input
create static methods

**prompt
**config