added config setup for api WPI