Insert Viewport at 00 on sheet with scale scalebar and view template

I have tried to develop simple dynamo to do following job,

  1. Insert viewport at 0,0 coordinate in drawing sheet
  2. Apply Scale as input through code block
  3. Insert Scale bar at proper location below the title
  4. Apply view template

Only thing I need to figure out are as follow,

  1. Filter out the view’s list related to mechanical discipline (through workset) so that it will be easy for user to select from few views
  2. Filter out the Sheet’s list related to mechanical discipline(through workset) so that user will have limited selection
  3. Filter out the annotation family’s list for scalebars (through annotation filter) so that user will have limited selection from the list

Anybody’s help will be highly appreciated.