restructures folders, renames files, fixes problems with minimal version