Totally unrelated but how can i do them...

1. Let my program connect up to the internet and save a file on the site so then they can load it later? This would probably have to include an accounts system.

2. Make it work with a webcam so maybe like one of those webcam games where you can move and then virtual things can bounce off you?