Implemented 'settings' struct to pass engine information around.