Move package errorhandling to panic handler
Add BufferedReadCloser
Panichandler log format update
Panichandler to use BufferedReadCloser