added functionality for including external html templates
altered readme