Some refactoring and comments addedd.

Aside comments and refactoring, method for range selection has been modified to :simple_calendar_range_date for clarity.