An X-ray study of the galactic center