For what it’s worth, I got mine working, although there were several issues I found:
1. My system doesn’t know what __DIR__ is. I substitute “dirname(__FILE__)” in the include function
2. I created base classes for MyController and ApiView and included them before I pulled in the extended classes
3. A bug I found in your code is in UsersController::getAction() there is a switch statement that doesn’t have a closing curly bracket.