Modified init file and created settings class