New parser file with temporary hacky promise solution.