Removed template from vertex
Added vertex.cpp
Cleaned up some code. Preparing new mux aggregation