Added Functional ShortCode

Added the main function to inject shortcode.