New way to handle scripts & styles in the layout.

Closes #90 #91