Created XML Layout for main activity and some functionality