fixed bug:
abstracting main_container into main UI view