Implemented Main class
Added button