Fragment class and UI added.