Contract Parser implemented + simple tests