The structure and dynamics of the gaseous and stellar components in Centaurus A