Make common library

Also updates instruction definition.