Inital checkin of main class Demo
Updated with working code