First prototype with db connection

Payment generator now connect to mySQL db to retrieve the data.
Only a few fields are considered in this version. Still to be tested.