migrated the mdp solver to it's own package