add a way to detect array classes
properly parse and resolve interfaces