Designing a Framework for Human Factors Integration in Railway Systems