First part working of the app with fragments