added basic tab controller
working copy