Studies of the motions of a perfect fluid and the problem of singularities and related topics in general relativity