change shortcodes api to OO