Basic SMR implementation

Change-Id: If02d1a06efdf4b06d79401bf5be31a10cee30243
Signed-off-by: Lorand Jakab <lojakab@cisco.com>