Added missing headers to ApricotView
Fixed component associations and initialization

Closes #14. Most of the initialization code was taken from main to
respective classes. In effect, the ToolActionArea component is not
usable and needs some modifications. Another issue will be posted to
address that.