Restructure project into optimisation and visualisation modules.