Library conversion to 1.5 layout. No code modications, just added (fake) metadata for testing.
Factorized arch dependent code