Knowledge based plants layout configuration and piping routing