refactor main to use ifrit

Signed-off-by: Eric Malm <emalm@pivotallabs.com>