architectre diagram added.