Move Args class to a separate file

Change-Id: I65921bea9092688d1e05285aa819f566a45dcb30