added clear method
added settings class to gitignore