Updated for golint conventions
Added docs for recovery middleware