Final demo version with avg functionality and some CSS styling