Loading site settings from database and initially configuration of cache machine.