Rewrite class Cracker and its implementations