Added some click events
A new class for options
Added some class variables