Same comment for all the above? Does all this logic need to be app-specific? This makes it hard to reuse the import kml component? Can't the component more self-sufficient?