Added in some base code from the XO Quickstart. Fixes #3