added archiving ability
archiving
fixed archiving
fixed various archive bugs
removed testing code