move Fragment as a separate class