moving logic to widget
something wrong with has evt days
fixing has event
adding onclick listener
finished incapsulatins
Merge pull request #1 from EdgarK/incapsulating_logic

Incapsulating logic