Adds child theme support

These few changes allow you to use child themes.