Added Dimension-Selection Buttons

Added buttons for selecting the shape dimensions and added a class to
manage the current shape information for later calculation.