reworked sw uart implemenatation
added echo test