Adding select.php and a slew of static files.

Also working on improving the formatting of the code.  Unsurprisingly,
there's a boatload of messy code.  Things are coming along though, and
at the moment, Twelve Sands is running locally.  Yay!