Handle Commands part of Parser

added Handle Commands section and started fix compile errors