reworked inital datagrid manager to be easier to modify

Threw it all into a seperate self contained class