use container view to implement main view