#9 and #13: Implemented UI Element and UIElement subclasses