Added directory validation

- Can test installation;
- Will validate the given directory;