create a thumbNail factory for games thumbnails, move all variables in
database out in a private class for convenience