The Office of Regulatory Staff shall have the general supervision of all railroads and railways in this State operated by steam and must examine them and keep informed as to their condition and the manner in which they are operated, with reference to the security and accommodation of the public and the compliance of the several corporations with the provisions of their charters and the laws of the State. The Office of Regulatory Staff shall enforce the provisions of this chapter.