Added the start of the broker handlers for peers and projects.
Added HTTP method switches to the handlers.