Stability Diffusion Models From Scratch