moved alot of the functionality to the models. changed the file access so that it ignores the extension and just attempts rar and zip access.