added schema
added env arg
added get buffer array
update todo list