Application programming interface for the cbwaf (configuration based web-applications framework)