Resource repository pattern
* Updated resource controller to use repository pattern
* Updated Readme file

Signed-off-by: marcelr <marcelrienks@gmail.com>