Added several functionality:
-csim options are now working
-added scafolding for parsing of tracefile
-added scafolding for managing memory during tracefile