Refactored moving python-based logic to chief python package subdirectory