Updated the header comments.
Updated programming style.
Removed extending directory.