This repository shows the code base used for my dissertation at Stockholm University in 2013.