Remove old riak leftovers

It was planned to use riak to store the state in the beginning of the project.
This was later changed but some cruft was left in the codebase