On representation of functions by means of superpositions and related topics