1) create rest resource concept
2) added document, controller, collection and store elements

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