Refactor server/main to use Sentinal middleware
Add server middleware to Sentinal.logger
Fix tests