create client/server distinctions, jquery package, initial server-side prototype