modding BubbleSort for scalability testing
Moved all top-level to model package