Move mock spectrum to standalone class in tos library. Cleanup scons build hierarchy