1) moved connection options to component options
2) added validation rules