Create a logic module that doesn’t include Riak

Similar to the gen_server version but this doesn’t rely on a process. 
This is much easier to test than using riak_pipe directly