Scanning directory and more forms.
Lots of changes