Moved logging and unity out of endpoint project

This is to facilitate easy reuse by other modules.