More db fields and created PDF class