Making fragments separate class