fix bug with list archives when using a count
clean up HelloWorld sample
adds sample application for Archiving