separate controller backend frontend

Change-Id: Ic4ba9c8154a600c978e75ea82ff36569270dd656