Decoupled ObjectSpace and Analyzer; added specs for Analyzer#analyze