Chore/move monkey patches

this will clean up the doorkeeper initializer quite a bit.