httpHandler architecture updated