Added ACK mechanism

close #1
Merge pull request #2 from Raulmsm/Implement-ack

Added ACK mechanism