Adding the networkinterface

This commit adds a interface for communication between network module
and the rest of application

Signed-off-by: José Guilherme Vanz <guilherme.sft@gmail.com>