[ymeng] Fetch product & contract info through gateway
[ymeng] Move sql statement into Command class
[ymeng] Push down gateway class