Learning to Pray - Framework