move logging into its own directory