Improved template design, now takes class instead of a string.
Added basic component classes.