Added a shell script as a first attemp at something that can run as root and therefore check devices
Code cleanup