cleanup

cleaning up the code, switching to simple templates and adding
SoftModem (over audio jack) support