SOFIE (Solar-wind with Field-lines and Energetic-particles): A data-driven and self-consistent SEP modeling and forecasting tool