Even though I've read about mining,I'm still confused about some things
![Embarrassed](https://bitcointalk.org/Smileys/default/embarrassed.gif)
Can you answer me these?
1)Does miner analyze all existing blocks when it mines for new ones?Or no?And why is it that after 2016 blocks difficulty increases,is that hardcoded or just mathematically calculated?
2)How easy it is to mine,if,for example,only genesis block existed?Or maybe if only 5 blocks existed so far(for example,you were one one the earliest miners ever).Was it super easy?(this is related to 1. question).
3)What happens when the block is mined?Does it contain transactions?Is that how pool works-when it mines a block,it contains transactions where sender is administrator of the pool,and receivers are those who were working on a block?And if you solo mined and found a block,you just sent 50BTC to yourself?
Thanks.