Reading From Database

Insert code is also there, but not yet tested