giving control on working directory and changed path separators for platform independency
gneh
cleanup & comments