Replace build tasks with devtools

This branch converts the library to use devtools.