There he put into practice the principles of liberation theology , sleeping on the church floor , providing thousands of meals for the poor every week and often coming into conflict with the church authorities .