move docs to more std docs/
rework of error handling, execeptions