Added view controllers and fix tab bar controller implementation,
Added termination support