sql class init upload