initial commit after munging from the CTF; more work to come.