Major Update! Moved parsing libraries into separate class so that I can eventually write unit tests.