Layout java generation and semantic analysis implemented, need to add reference