Cleanup Imports, finalize memory addresses