Started implementing the gfx module