* refactor Entity and Person out of generator pk.
* qr code now return QRCode type.