demoproject: functionality to upload each demo into correct dir, output optimizing, etc