Finishes Machine Resources
Adds Unit Tests for Repository and Controller
Adds Validation
Fixes Repository return types
Ready for additional resource types