added Tab class
removed unnecessary code
wip: saving files