Got basic rest working