moved interfaces code outside of main app. TODO; Multiplexer (separate module with support for delta)