Core package updates

DiatonicScale now extends ArrayList class (like previous classes).
Several "define" classes has been moved into others.