fixed performance issue for psi factory
improve api
memory less usage
returned ast creation to ASTFactory
typo