Add central algorithm, with struct for settings