Wrote out parser logic, have not tested yet.