Package things up, trim out excess dependencies