Created main activity