Updated WordController to be a class; Updated composer.json to autoload the WordController class