Default servlet is necessary
Refactored ugly methods in Broker a little. Added logging. Fixed problem with thrown Exception when file succesfully generated in cache.