Security Updates

moved build functions and shortcode functions to different files
move shortcode to the class directory