added libraries and began setup for advertisements