Move GridView into its own source file