basic grid and snap completed working on class appending