Split out the bulk of the code as a defplan, removed explicit calls to lein/setup etc, as the extends clause should already take care of this