First commit. Mostly just code from various sources starting to get cobbled together.