General Settings file and start of DB functions