updated create tables and added some comments and evail validator