Added function for getting data from db
Merge branch 'master' of github.com:mweisz/InnoJam-Farmville