A3 LICM Work (lotta refactoring & updates)