Added -d option for set main directory

Added -d option
Syntax:

```shell
$ sudo server-manager -d dirName
$ sudo server-manager -d dirName -c gitRepo
$ sudo server-manager -c gitRepo
$ sudo server-manager -c gitRepo -d dirName
```