move adapter to adapter package
Add RomState function