Began writing ISR for serial I/O as well as separated some functionality