Added logback logging infrastructure, removed unused middleware.