Initial conversion to `aur` library

- Cut out big swaths of old code