changed stask
make it possible to enable debug logging
add logging
real middleware with meta and body attributes
added first steps to implement filter