Added directives for splitting templates, added social sharing button and functions