Improved components end points (#209)

-- Updated rest URI
-- Removed unused code blocks
Improved component types end points (#209)

-- Updated Rest URI
-- Removed unused code blocks