The EUSO simulation and analysis framework