added script to compile and load the module
script improved. Now removes the module when the scripts finishes. It checks for correct user permissions too
DEBUG flag removed and write and read operations working