Evolution of galaxies is one of the most actual topics in astrophysics. Among the most important factors determining the evolution are two galactic components which are difficult or even impossible to detect optically: the gaseous disks and the dark matter halo. We use deep Hubble Space Telescope images to construct a two-component (bulge + disk) model for stellar matter distribution of galaxies. Properties of the galactic components are derived using a three-dimensional galaxy modeling software, which also estimates disk thickness and inclination angle. We add a gas disk and a dark matter halo and use hydrodynamical equations to calculate gas rotation and dispersion profiles in the resultant gravitational potential. We compare the kinematic profiles with the Team Keck Redshift Survey observations. In this pilot study, two galaxies are analyzed deriving parameters for their stellar components; both galaxies are found to be disk-dominated. Using the kinematical model, the gas mass and stellar mass ratio in the disk are estimated.