AST constructing method and tests is added to the project.
Added LICENSE(Apache license 2.0) text.