Added, refactored and expended the installer.

Still a work in progress, more to come.