Text this: Optimization of processes in railways based on the cost management model