Refactored and documented dashboard layout algorithm
Refactored dashboardScaffold to separate creation and confguration of dashboard components into two separate parts