Created a basic polling application