Bug class and fix for Thing
We made layer a final int and removed the getters and setters for them.