Made the suggested changes for allowing cross package less imports, also
added unit tests for the new functionality