Initial commit of code from http://dbschemareader.codeplex.com