Move V1 REST XML parsing and generation methods to their own file
Clean up the samples a bit
bump version