Added install.h
Various changes