Renamed raptor-amd to raptor-legacy-amd and migrated legacy code