added javadocs and cleaned up code for BTParser and BTSend