refactor FileRack.py into smaller files