md5 parser cleanup. started adding transition methods as well. #774