API basically working. Yay.