1) started implementing the rest module

Signed-off-by: naazgull <pedro.figueiredo@gmail.com>