First commit - With some changes that are incomplete for dynamic updating of Gridview contents.