Refactored Layering sample

- Also reversed the order in which the code loader shows the typescript files