A DFT study of graphite supported catalysts