Refactor RCC and NVIC configuration.
Refactor buttons configuration.
Refactor IO configuration.
Refactor LCD and DMA configuration.
Refactor IWDG configuration and usage.
Some refactorings.
Configure SPI1 port.