Use MobileDetect, pass results to index template
Move config methods to _priv