Setup general environment and basic files