base de l architecture : pe transformer console en engine