Refactor a huge amount, move code around, make adding textures in square segments, add height changing functionality, fix some small things