Separated declaration part from the main logic of code and added it in separate header file. Included needed datastructure libraries
Declaration part of semantic.cc. Separated from the main code and added in a new header file