Added sectors and types resources
Refactoring of controllers; added ResourceNotFound exception