New simpler architecture for Local.py file