Move log message to top of functions.
Add module parameters to API.
Created test file and deleted SUTAPI.