Adding ability to pass parser argument. This allows other formats like XML and CSV. Added test cases for everything.