updates mobile api to use version number, removes www directory inside the mobile directory