Master thesis Uppsala University / MoSync