Added log4net

Abstracted Middleware
Completed vote protocol