Extensions and Expansions of Algebraic Structures