created alignment vi/subvi

removed alignment part from main_vi, now independent subVi that is
called from main vi, can also be used as utility