Resolving package imports works.
Have to add import test cases.
Added more reference caching. This will speed up the thing tremendously.