added gradle wrapper
crude implementation of stateful interactions