add bunch of middleware documentation
Merge pull request #7 from APItools/documentation

add bunch of middleware documentation