Add ImageTest
Gen Image class
Add static upload dir setter, fix require