Front end of my thesis project.