cleanup for Flow Num and comments added
instance for Flow Bool added with AND, OR and NOT functions