added support for dependencies, class path may be defined as option