Added new directive for advertisement.
cleaned some files