Minor clean up for the code
Fixed a bug in type cast

x[,] expands an array if x is a single array. This caused type-casts
expands an array when the db.obj has only one column.

Need to test more on this.
Update Readme.md file to reflect the moving of repository
Fixed typos