Initial work of setup script.

Installs the base system and does some basic configurations.