minor: make api builds use async
fixing table generation
generate: moving table generation out of make.
minor: testing sync operation
minor: fixing bug in api generation