An integrated, compact and upgradeable bidirectional multiplexer/demultiplexer and Add-drop multiplexing based on array of ring resonators is proposed. The proposed structure is realized using basic elements in optical integrated circuit domain. We show that using the proposed block wavelength separation in dense wavelength division multiplexing standard is possible. Also, the introduced basic block can be used to realize other elements in all-optical networks.