Creating the logic for creating some blocks. Adding resources. Creating menu with windows.