Added polling for status and some  other changes

Note that I changed the /view URL to /view/<file_id> instead of using a query param.