created package scale and moved classes into it