Added directory validation

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