double buffer implemented, parser base functionality added