Initial parser implementation