implemented first tabbar approach. will be improved.