Added functions for advertising. Created advertisment package. Created a controller class for advertisement.