externalized non-UI code to ch.produs.base repo