String representation added.
Small refactor (removing unused variable).
Two different folders for domain1 and domain2 implemented.
Protection against not resolved classes in cache.