Added function for grabbing settings from database on initialization

-Added function for grabbing settings from database on initialization