smokegen - A SMOKE library