Very rudimentary and I am certain idiotic ways of parsing form data. Much to refactor. Much idiocy.