First stab at swivel

Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>