Made Studydetail temp map work!

also removed app2 and app3 files, fixed some configuration files