Fixed logging & removed unsused scheduler.py