#718 - Remove the gateway ACK call

added NHibernate deduplication and updated sample