add main function and test parser works