Adding a class Protocol in the lib project