added way of building units and towers from config files