fixed main and grid so that they now work, moved cell class to grid module