Changed static function modules in the API class to another class

Static functions were confined in the main API class, which was
shifted to another class, so as to fit with coding conventions.
The static call from the job Queue was changed to a stateful call.

Change-Id: I4bd81d37c453244495ff8483268862bcc7d07a28