Rework the build system, use separate file for first and second part

Created by  voroskoi  on January 15, 2022
NBWIQLPZIFZRXGCDMIFXQAAWWVQEOJDP6KIALLI2NJE4YSNCCNOAC
Change contents