Added control.js
Added main tabcontrol