Moved code into devilryrestfullib/