Main Code for Alignment

TODO:
  -Add Code for video making
  -Remove image dumping