Created install script
Added a function strip double slashes
Fixed substring and added a preliminary cmp_version
Fixed a whole bunch of smaller issues