Added some db stuff.
Merge branch 'master' of github.com:jamesclyeh/PPC