updated main stub documentation; tag osx and ios files with the proper group