replaced main activity and removed dead files