First parsing of the input implemented.

NOT COMPLETED YET!