Devtools conversion

This branch converts the gem to work within the devtools framework.