MS - Complete data base functionality.
Merge pull request #8 from mss1982/master

MS - Complete data base functionality.