Build primary framework