Add missing unit test for SSHEntity

Forgot to include this in the previous commit
Refactor controllers entities

- Move controller code to a single file
- Add tests (unit and integration) for controllers
- Use SSHEntity as a base for VMController