Ported to new API

Since version 0.5, changes have been made to the project to make it
compatible with new API available in pyalveo.