add a more sophisticated installer

Signed-off-by: Ben Walton <bdwalton@gmail.com>