include the sc_main.hpp header to the files
add sc_analyzer functionality
fix problem with indexes from 1
do some code cosmetics and adjustments