task: implemented basic resource (GET, PUT and POST)