add some base functionlaity for parseQuantum; initial commit