WS
Moved interfaces to separate files. Always use only one class per file for easier maintaining and future development.
Added missing phpdoc blocks.
Modify coding style to increase readability. Changed internal used require_once to include_once. Use camelCase variable names as classes and methods already are.
Avoid duplicate code by adding helper methods.