Added parse post functionality to parser