Initial commit. Horrible code.