Started on client, modified the history stuff to work with directives
Further work on data middleware, going to replace all console.logs with restack.log