Offline

fixes to run offline on localhost again and some work for the learn x app