Added events to handle checkboxes
Added networkprofile model. Refactor code