Removing AE2 API and switching to IMC

Also moving IMC code into an IMCHelper class for easy wrapping