All but binary done, commented everything nicely.