fixed grid class and started on GUI