Small changes here and there

Started to implement tests
Started to implement commanline arguments
Started to implement mmg batch generation