Add rpm extraction functionality