refactored the soupcms_api class at top level