added scales mini-module for generating y-axis scales