Location of Sub/Function block rewards

I am working with version 0.15 and I am looking for the function/sub that one sets the block reward for miners and then when/where it sends the new coins to the winning miner’s address. I have worked on litecoin in the past and it seems to have changed to the point I am not following the code flow as well. First I am trying to change the block reward, which I only see the genesis reward unless that is for every block? Second I would like to write in an additional function when it rewards for some testing that may make its way into some other games/software we are working on.