Clean the code * Make sure to get the current element object only at one place instead of getting it in every regions for each element types. * Get rid of useless comments * Get rid of hardcoded values if there is still some, some other should end-up in a third json files I guess, like height constants.
Clean the code