The 2S4P array of 8x 12V,50Ah indeed gives you 24V,200Ah capacity. This requires automatic CC,CV and FV with load balancing. For a single system estimate the cost to be between 1$ and 3$ per watt-hr storage capacity depending number of life charge cycles expected and consumed.
Your battery is listed as $322 which is 12V, 51Ah or 612Wh or 2$/Wh. , but I do not see any specs for charge cycle life.
You should expect the electronics to be only 10-20% of the total cost with all features included.