Update mountManager.sh

added check packages in the script (line 63 & 64)
removed all functions, now all functions will be included from external file functions.sh