init and basic shell stuff