Moved parsing of POST parameters and cleaned up parsing function. Requires testing of POST on graphical web browser. Might need slight changes.