More generic parfacter.py. Folder refactor.