Implemention of the delegation concept finsihed and optimized and commented the source code as well.