Added protocol class

Signed-off-by: Benjamin <Benjaminaaen@gmail.com>