Migrate entry point code to Commandant

_Depends on https://github.com/Carthage/Commandant/pull/16._