Adding version number. removing all old functions