Generalize examples

Increasing the numbers of users and separating the classes
I would recommend to create typedefs for:
rlnc_encoder::factory::pointer
rlnc_decoder::factory::pointer
These names are getting too long ;)