changed to use ivy for dependency management. Fixed a bug for incorrectly handling of outputDir