Make a class for the ContactsController

Note that this means exporting ContactsController, and all interfaces.