Solved the use of the ArrayList

Instead of using 3 ArrayLists for each class, I created an interface
with the required methods and made the service class abstract.