The Weighted Brunn-Minkowski Theory