Add getter/setter for x/y position on layer
Reformat code