Initial excess power output reading, locking done

ReadersWriter lock working for cgi-scripts. Switched to /home/cgi_output
for shared write folder.