added parsing in the facade and changes to Program