Add directory param

Added parameter to define save directory for the files
Edit in notepad instead of notepad++
Cleaned up comments
End-to-end

Tied the process together with the storeServerTask script
Working version on local VM environment