moved hardware uart into its own file