added new features:
  --getSources
  --getDirectory
  resolv [source] to actual source path