Boilerplate SDL architecture code.