Implemented custom Settings class