Shared Kernel for measurements
merge master
added protocol module, moved protocol builders and fixed module dependencies