Fixing paths, adding xml endpoint