Added more REST endpoints, cleared up examples, fixed compression support