adding cgi scripts for web interface. need to find way to pass variable from one script to another
added lib communication. needs testing and bug fixing
first working version of cgi interface.