Complete rewrite/refactor of Racker.