added database hookups

added database hookups for scales, tunings, and insturments.