Fix logging, caching. Add nested project support.