Implemented more database access methods.
Merge remote-tracking branch 'origin/master'