You mean lines 7-13 right?  It looks like you are referring to everything including the opening block through line 16.  The import statements are necessary so leaving those in.