Separate out the Main Controller and created sub classes to represent the individual Tab Controllers