Added some DB code, to store data more efficiently.
Merge pull request #101 from Geofff/master

Backpacks all good for implementation