Means of optimalization of the educational process at the grammar school