Code Outsourcing from Model.java