Build flags

Allow skipping of build stages and serialisation of html-ification via config flags