Home Affairs lays groundwork for IBM mainframe shift