merge pyFootball code