add examples to test the instances created by factories
fix initialization of uploader