Convert all checks from bash into proper Ruby TungstenScript classes.